import { Component } from '@angular/core';
import { NavController, NavParams,ViewController,ModalController } from 'ionic-angular';
import { ClassifyAddPage } from '../classify-add/classify-add';


@Component({
  selector: 'page-task-select',
  templateUrl: 'task-select.html',
})
export class TaskSelectPage {
  items: any
  constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl: ViewController,public modalCtrl: ModalController) {
    this.items=[
      { "title": "广告", "des": "创意，设计，上线，检测"},
      { "title": "招聘", "des": "人员需求，招聘计划，人员甄选，办理入职"},
      { "title": "运营", "des": "品牌价值，渠道建设，常规活动，紧急公关"},
      { "title": "行政管理i", "des": "企业文化，企业制度，会议组织，办公用品，内部文件"},
      { "title": "会销", "des": "场地物料，邀约宣传，现场调控，统计总结，跟进服务"}
    ]
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad CoverSelect');
  }
dismiss(){
  this.viewCtrl.dismiss()
}
presentAddModal() {
    let modal = this.modalCtrl.create(ClassifyAddPage);
    modal.present();
  }
}
